/*
 *  This program is free software; you can redistribute it and/or modify
 *  it under the terms of the GNU Lesser General Public License Version
 *  3 as published by the Free Software Foundation.
 *
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU Lesser General Public License for more details.
 *
 *  You should have received a copy of the GNU Lesser General Public
 *  License along with this program; if not, write to the Free Software
 *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307,
 *  USA.
 */

#ifndef APPOPTRAINFO_H
#define APPOPTRAINFO_H

#include <optra/common/sdk.h>

namespace Optra{

    class Proxy;
    class Application;

    class SDK_EXPORT AppOptraInfo : public QObject
    {
        Q_OBJECT
        Q_PROPERTY(QString name READ name WRITE setName)
    public:
                Proxy* proxy;
        explicit AppOptraInfo(QObject *parent = 0);
        virtual ~AppOptraInfo() {};
        QString name()const;
        void setName(const QString& name);

        QString unique()const;
        void setUnique(const QString& unique);

        QString guid()const;
        void setGuid(const QString& guid);

        //            Application* handler()const;
        //            void setHandler(Application* handler);

        QStringList requiredZones()const;
        void setRequiredZones(const QStringList& zones);

        QStringList functionZones()const;
        void setFunctionZones(const QStringList& zones);

        QStringList futureZones()const;
        void setFutureZones(const QStringList& zones);
    signals:

    public slots:

    private:
        QString name_;
        //Application* handler_;
        QString unique_;
        QString quid_;

        QStringList required_;
        QStringList function_;
        QStringList future_;
    };
};

#endif // APPOPTRAINFO_H
